class TreeSimpleDataEntity {
	String? msg;
	List<TreeSimpleDataData>? data;
	String? code;

	TreeSimpleDataEntity({this.msg, this.data, this.code});

	TreeSimpleDataEntity.fromJson(Map<String, dynamic> json) {
		msg = json['Msg'];
		if (json['Data'] != null) {
			data = <TreeSimpleDataData>[];(json['Data'] as List).forEach((v) { data!.add(new TreeSimpleDataData.fromJson(v)); });
		}
		code = json['Code'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['Msg'] = this.msg;
		if (this.data != null) {
      data['Data'] =  this.data!.map((v) => v.toJson()).toList();
    }
		data['Code'] = this.code;
		return data;
	}
}

class TreeSimpleDataData {
	String? no;
	bool? isParent;
	String? name;
	String? icon;
	String? pId;
	String? levela;
	bool? open;

	TreeSimpleDataData({this.no, this.isParent, this.name, this.icon, this.pId, this.levela, this.open});

	TreeSimpleDataData.fromJson(Map<String, dynamic> json) {
		no = json['no'];
		isParent = json['isParent'];
		name = json['name'];
		icon = json['icon'];
		pId = json['pId'];
		levela = json['levela'];
		open = json['open'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['no'] = this.no;
		data['isParent'] = this.isParent;
		data['name'] = this.name;
		data['icon'] = this.icon;
		data['pId'] = this.pId;
		data['levela'] = this.levela;
		data['open'] = this.open;
		return data;
	}
}
